Fixed updating of resource_class_id attribute in Rack (#31)