removed some print statements, still trying to figure out update