update and fix spec