Fixed the updateattributes issue temporarily