change dependency to 3.x and 4.x