Added updateFeatures for issue #2

Addressed missing function of updateFeatures for issue #2.