json and js updatesd