@staticmethod
def _json_update(model, **params):
    """Temporary method to update"""
    aqhttp = model.session._AqSession__aqhttp
    data = {'model': {'model': model.__class__.__name__}}
    data.update(model.dump(**params))
    model_data = aqhttp.post('json/save', json_data=data)
    model.reload(model_data)
    return model
