Update  print function