Moved printing into update