How to update application credentials