added update gossip and delete gossip in both database and PHP