Updated dashboard event db method