editing names now changes the database