Update file action helper