extended the judicial custody