First variation of holomorphic forms and some applications