update entity & form