update the serializer