will have to give you an NOC to get the sponsorship transfered to the the new company..its better off you leave the country once you get the new offer and come back on their visa