Update project variable by its unique ID.