Events get deleted when updated and the error checking for event adding is fixed.