Added update endpoint