adding missing file and update functionality