Update sdk to api level 19
Update image relink logic