updating appjs and stylesheet