update api/account/POST - check if local_port exist prior to modification