no need to specify endpoint_id in params when editing it