Properly save data on revision restore, filter revision fileds on admin ajax, update_metadata instead of add_metadata