update usage and error messages