Removed unused variables from info file and added update function