don't lose attrs when updating