passing spec for update project in API