Check if member exists before doing an update

Signed-off-by: Gawain Lynch <gawain.lynch@gmail.com>