idc edit and delete log update database