updates details template to account for tweets coming from database