State Senate passes revised bill that would automatically register voters