@Ajeet.Singh updating camunda version in pom.xml will not work. you need to execute the DB scripts also.
Refer the docs for db script to update camunda version:
Execute the scrips in order.
Db scripts can be found in Camunda Nexus Repository
Database patches information can be found here: