setting link in object types