update the name in the layout