Update json and add functions

Tomando datos de un tag button -> value and content.