edit visa functionality