Hi @saidileep
You can change the property of an object using setProperty() function in the expression. In the below example, the value of "firstname" property has been updated:

Expression used inside Compose action to update the object property:
setProperty(body('Parse_JSON'),'firstname','abc')This expression will update the value of "firstname" property to 'abc'
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks