checkout master for each module before updating