storing max rows value in configuration