update cap to precompile assets properly