updating files

working out the last of errors