update static and non-static Cat class