Upload image api related changes