Updated code to handle PUT request for updating Family details