Update button in homework#index & profile#show now auto selects clicked assignment