WIP splitting updateTasks and modifyTasks functions

modifyTasks is WIP