update bundle and layout