Added insert and update link html services + added safer type on GUI side