updated imgdir