updated booking controller