Fixed error when update page