update layout gamma;