update layout centering