Any contract so entered into shall set forth the proportion of the cost each party thereto shall assume and shall specify all the details of the management of the joint undertaking and any other matters which may be deemed necessary for insertion therein. The contract may be amended from time to time by the contracting parties.
N.J.S. § 40:23-16