(FIX) deployButton tpl + real db insert/update