edit and remove action + preAction package