update liquid tags to support different api's