How to Delete Polyline from Google Maps

Hello, can someone help me on how to remove a polyline created from the Navigation? Here is my Code. Thank you.
blocks (1)

ive tried searching for the functions, i have found nothing. i think the block is very self explanatory, it will remove the polyline with the specific id but it really wont. i hope someone will come and help me.

I found out the solution myself, the problem is the ID in the update polyline (12 in my block) is irrelevant since the add Polyline block creates a polyline with another unique id. instead, this is what i did, and it worked.
blocks (2)