Implement edit-tag API