Update for schema.
Print out sql errors.