Moved update-function to install