view refresh working