fixed task_id incrementation onmodel update