add refresh function

Signed-off-by: Mikimoto <mikimoto.c@gmail.com>