fix deprecated code in readme