Edit records via the API

@adrianguzman, FYI: