Added updateStorage

Created new function to push to-do items to local storage