update and add debug items