added update feature