added boder/UI refresh