updated input image