update random distriubtion