As long as ownership is truly shared, the increase in asset value is linked to equity at the time of sale or exit, according to the contract and existing share percentages.
Steps
Don't assume that all the increase goes to the client simply because they are the one paying the installments, nor that the bank has a right to an increase unrelated to its share.
Review the method for valuing and selling shares in your contract.
The figures, fees and limits in this answer vary by bank and change over time — confirm them with your bank or the official source before acting.