modified tools update apis.

This request include modified methods to add, update and delete tool apis.