update image flip and rotate