update init from mako