Changed version compare to less than or equal to

-  Make sure db update function runs when updating from version that has update routine function