try to fix update of prec in db
Added update=True and added debug info