prep a refresh function for furture api or refreshing grid ui