finalized component of link shortener app via controller -- update_params