-/ update Structure and js functions