committing changes for getting visitor details