Added methods for updating/removing tasks