a5: update dependencies and remove old caf flags