Update mockup and create function add().