AMENDED AND RESTATED JOINT FILING AND GROUP AGREEMENT