add projectId in appropriate way