updated triggers and json script finds user