updated sql for audit log

Signed-off-by: soemyatmyat <soemyatmyat@openmailbox.org>