added editor to database