Must use init hook for ajax widget updates to work