Use cache update instead of put for encryption version
Use cache update instead of put for encryption version

Saves a call to fetch the file id which didn't even work for a reason.

This fix properly sets the version in the database.

michaelletzgus/nextcloud-server,bluelml/core,IljaN/core,Ardinis/server,pollopolea/core,endsguy/server,andreas-p/nextcloud-server,cernbox/core,pixelipo/server,xx621998xx/server,michaelletzgus/nextcloud-server,jbicha/server,endsguy/server,owncloud/core,owncloud/core,sharidas/core,bluelml/core,IljaN/core,xx621998xx/server,sharidas/core,Ardinis/server,whitekiba/server,bluelml/core,cernbox/core,nextcloud/server,jbicha/server,sharidas/core,cernbox/core,xx621998xx/server,nextcloud/server,Ardinis/server,jbicha/server,pixelipo/server,IljaN/core,pmattern/server,pixelipo/server,andreas-p/nextcloud-server,michaelletzgus/nextcloud-server,cernbox/core,cernbox/core,owncloud/core,pollopolea/core,sharidas/core,Ardinis/server,pollopolea/core,IljaN/core,sharidas/core,xx621998xx/server,pollopolea/core,Ardinis/server,pmattern/server,endsguy/server,pixelipo/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,jbicha/server,pmattern/server,nextcloud/server,pmattern/server,andreas-p/nextcloud-server,nextcloud/server,endsguy/server,xx621998xx/server,michaelletzgus/nextcloud-server,bluelml/core,whitekiba/server,bluelml/core,endsguy/server,owncloud/core,whitekiba/server,IljaN/core,whitekiba/server,whitekiba/server,phil-davis/core,pixelipo/server,jbicha/server,pollopolea/core,pmattern/server,owncloud/core