updating file path to store images