initialize constants through constructor
update links