update resize page