updated active record