added edit person functionality