Update error message for require