updated serialization templates