add previous method and rewrite latest method in tornado