extract all status from db