Some changes and updates con cancel method