Updated ticket model and controller files