updating diff methods