add upscale functionality and bug fixes

add upscale functionality
fix bugs in getting the instances information