fixed deprecated methods and broken example commit
1 file changed