updated auto layout