update bgImage