update link in view and param in ctrl