updated craft cms and added models js