Renaming and form submit