Cash margin is the trading margin available to a trader due to funds addition or settled profits after buying and selling of holdings or position. It will be updated in the below cases. 

1. When you add funds or withdraw funds from the Upstox. 

2. When you sell your position or holdings, then the margin will be added to cash margin according to settlement cycle.