correct parameter for contract rroutes
update_edp_status is better encapsulated