update setbg