first phase of updating page load method