Allowed for thumbs up and down to update the database