finalising the update stuff