Removed test code in updateimage.sh