sdk update, various fixes