updates get/set methods