update vals on page load