updating page frames