Working updating attributes