updated image loader