updated spamprotector api