Fill title and url automatically