update resize image