adding/updating graph files