Retrieve detail and store in DB