update demo bgd