Update latitude rake task to use new method