update to latest libraries and sample app update