split up update/add config item form to simplify logic and improve user experience