update for bg postion