Todo example app added and fix of the updateElement meth