adds content to marker after added to database