updated wedcs pgtyp in page load