update projects directive