added refresh param to skip loading indicator