optimized the rent counter updates