update data, hook up prev button