updated var and var require