remove test code and update.