update some packages version + update code accordingly