Is there a way of making an update function? If I want to add items dynamically, the plugin is not working.