Renamed files and database is updating but the form is not as I would like