updates modle and interfaces data