Todo Fix- and new todo
sqlite does not support joins in update , therefore this change
new control statements