Fixed page updating on first time