added refresh all function