serialization works, but update need more work