updated the instance class