implemented database upgrade
version update