updated Matcha's helper