updated mode's layout