update bg elements