ajax on answer and question buttons updates the votecount on view and database