update for serialization