update resource file for print message