update riwayat