Added UpdateVariable and findVariable