JPARepository wont update entity on save

The updatable = false attribute should be changed, JPA will not update the entities with attribute updatable as false so set it to true.

For more reference: https://www.ibm.com/support/pages/jpa-entities-primary-key-automatically-generated-read-only-annotations