update to support ex4