knockout implementation updated