update error code printf