Update form name based on action.