update java serialization