Updates layout