add DB inserts for bar data events