filter the attributes on update as well.
add spec to filter out non existing attributes