resolved ajax refresh issue