Updated the create function to include a location link