update graph service to handle different types of images. Auto removal is added