put newest topics data into database