added origin_type parameters
action: edit