Change function add to create
Update script