Updating gui so that it runs