Fixed a bug when voting in posts

The vote views did not receive the post_id value
The vote view was calling the undefined update method