accessing incorrect property when updating comments