update all layout