refactor and improve the booking function by renaming booking_end to expected_date and set expected_date to end of the day it's due