changed image post model configuration for aws