Updating status code check