pred and obj Utils update