fixed viewer sample and updated sdk
checked with configs