Program add and update