Moved seperate files into Update, added docstrings