Add support for updating trips in API