change from update_attributes to update
make test more robust