adjust charge function for new charged location