Implemented update feature.