refresh all functionality