Update Event table and TPE table