GM: Refactored code to do a bulk update of the xforms whose status doesn't match the project