add put_on_pending and remove_from_pending for Ticket model