Editing the database (still testing)