clean up audittrail service post, db optimizations