update resize image size in gateway