update instance versions logic
update gemspec