update model DB