modified how analysis are triggered based on the consitency between local and charon db