Added some more checks when creating a rating and enabled to update the value if a vote if one is already present.