update resize in view