How EU funds are adapting to new challenges