Adding update_entry function. Improving add_entries for speed. Reducing sleep in test_p2p. Hopefully it still works everywhere. Solution without sleep would be even better.