Fix small js and style errors

- fix button name
- fix update on delete