Fixed database issue: instead of making a new entry when editing a book, the database now updates the existing entry as it should