chaned day to aorb in database