vandalisms.update({'_id': bson.objectid.ObjectId(this_record)}, {'$inc': {
    'votes': 1}}, upsert=True)
AJAX for updating Flask template after data goes from link action or form to mongodb collection