Remove print statements from updating code