update close_at_date and close_at_time in method before_close