fixed update crud
added manual redirect for non-js edit