updated serializer for courses