Update doc activerecord