Add support to update (save) resources.