Update attributes in view