update_dimensions function

Apply update operations to dimensions