update attributes and ignore