Klopp extends Liverpool contract to 2024