Add and delete reprogs now works with a returned object y promises