Update variable reference