fixed bug with update page