update image api signature