added edit and local storage in sample_marionette