added update via mapping
fixed typo