updated show register method

Signed-off-by: Bo Bao <yourztrulybao@gmail.com>