fixed project create and update