updated image directive