updating models and tests