A network model for the biolm growth evolution in porous media and its eects on permeability and porosity