change projectId from int to long