updated reserves function