Create audit record and save it to database