need to add in update functionality now