fix small error in README; update deprecated method call