updated last attributestate