Set updated_by_last_action before copying file