Update resource/meta to keep update with gorm