implemented the feature to update a parameter