fixed setting class attribute from an instance (now updates the variable on the instance, not the class)