Fix name input saving and updating