update app with new syntax, it was way outdated
fix comments