print and refresh