optimized dev and updated build task