Added version variable for updating and parameter passing.