but spending on security is rising rapidly and while considerable progress has been made in cutting the budget deficit , which now amounts to 7.4 per cent of gdp , sri lanka remains dependent on foreign funding to meet its spending needs .