added proper error messages to check-update