updates layouts