update with flask-restful