You can modify your personal details from the profile page. Head to the personal info tab, and click on 'Edit' on the top right corner.
Please note that UAE Pass users cannot change their personal details from the baraka app, as they will have to be modified from UAE Pass app first.