Update aspect ration for images