It does same thing that save_actions