updates current pages syntax