shell works but cant update field value