append and modify spec