Register model, after insert a new row into database.