Fixed event db update.