Added Update functionality