update printing and commenting