Update AgamP3 to AgamP4