Updated the serializer.