update edit action