fix typo in template
make update button actually update the status