Update attributes as well