save snapshot paths to database