update resize command