Add a new entry to the database