Changing save to saveAndFlush to flush the data to