Update image and hide console window