added ajax capability for updating status of procedure, polished transaction adding for procedure