Added check "booking != null" in updateBooking(...)