updated model and bill attributes sql