add new entry only if it is not in the database yet