upgrade tags to sorted set