adding update and delete features