Added update end point and method