Fixes bug with update current version