Ajax refresh

Add methods for ajax refresh and add example how it use