steps for updpntfactor.py