A medical implant assembly includes a polyaxial bone anchor having a shank, a receiver, a lower compression insert with planar surfaces for closely receiving an elongate connecting member with planar surfaces and a one-piece closure structure. The connecting member is made from a polymer. The closure structure engages both the connecting member and the insert with the engagement between the closure structure and the insert securely locking the polyaxial mechanism even if the connecting member exhibits creep.