updates to serializer