__init() for models and rows update