update trip API, implement remove