The rise of AI and implication to the legal industry