update single attribute.