Update doctrine