update to working version