Adding simple update functionality