add update todo action and db function
render todo on change
can edit todos by clicking the text
remove unused variable