save samertags to database