Update var on load