updated Amber patches for updated v4