add/update elements in parse database