added error messages, working on updating events